package org.jeecg.modules.demo.com.kunpeng.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.com.kunpeng.entity.SupplierClassification;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: 供应商分类表
 * @Author: jeecg-boot
 * @Date:   2023-01-09
 * @Version: V1.0
 */
@Repository
public interface SupplierClassificationMapper extends BaseMapper<SupplierClassification> {

    /**
     * 根据供应商分类名查询
     * @return
     */
    List<SupplierClassification> queryListBySupplierClass(String supplierClassification);

    /**
     * 供应商分类列表
     * @return
     */
    List<String> supplierClassificationList();

    /**
     * 模糊查询
     */
    List<SupplierClassification> queryListByClass(Page<SupplierClassification> page,String keyWords);
}
